package com.apanal.qlife.advice.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.apanal.qlife.advice.dao.AdviceOrgAreaRelMapper;
import com.apanal.qlife.advice.model.Advice;
import com.apanal.qlife.advice.model.AdviceOrgAreaRel;
import com.apanal.qlife.advice.service.AdviceOrgAreaRelService;
import com.apanal.qlife.common.constants.Constants;




@Service
public class AdviceOrgAreaRelServiceImpl implements AdviceOrgAreaRelService {

	@Autowired
	AdviceOrgAreaRelMapper mapper;

	@Override
	public String insertAorel(AdviceOrgAreaRel arog) {
		mapper.insert(arog);
		return Constants.DEFAULT_MSG_SUCCESS;
	}

	@Override
	public String deletCurrentOrel(Advice advice) {
		mapper.deletCurrentOrel(advice);
		return null;
	}
   
	



}